<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
function f1(){
    //this代表调用f1函数的当前对象
    this.subject="php";
    this.banji="php0609";
}
f1();
    console.log(subject);
</script>
</body>
</html>